package com.qdu.entity;

import java.sql.Date;

/**
 * 日志类
 *
 * @author Lenovo
 */
public class Log {

    String id;//日志编号
    String ActivityId;//活动的编号
    String userid;//发表日志的用户id
    Date time;//发表日志的时间
    String name;//日志名称
    String content;//日志的内容
    String imag;//图片的地址
    int agree;//点赞数

    public Log() {
    }

    public Log(String id, String ActivityId, String userid, Date time, String name, String content, String imag, int agree) {
        this.id = id;
        this.ActivityId = ActivityId;
        this.userid = userid;
        this.time = time;
        this.name = name;
        this.content = content;
        this.imag = imag;
        this.agree = agree;
    }




    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImag() {
        return imag;
    }

    public void setImag(String imag) {
        this.imag = imag;
    }

    public String getActivityId() {
        return ActivityId;
    }

    public void setActivityId(String ActivityId) {
        this.ActivityId = ActivityId;
    }

    public int getAgree() {
        return agree;
    }

    public void setAgree(int agree) {
        this.agree = agree;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
    

}
